Skip to content

docs(gpu-operator): add 26.7.3 known issue for user-namespace pods with toolkit 1.20.2 - #550

Open
mikemckiernan wants to merge 2 commits into
mainfrom
devin/1795528701-gpu-operator-26-7-3-userns-ki
Open

mikemckiernan wants to merge 2 commits into
mainfrom
devin/1795528701-gpu-operator-26-7-3-userns-ki

Conversation

@mikemckiernan

@mikemckiernan mikemckiernan commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

GPU Operator v26.7.3 deploys NVIDIA Container Toolkit v1.20.2. Toolkit v1.20.2 adds a void volume mount of /dev/null to every CDI spec that it generates. When a pod sets spec.hostUsers: false, the CDI library (container-device-interface v1.1.0 and later) adds an ID map to the bind mount. devtmpfs rejects the ID map, so the pod fails with failed to set MOUNT_ATTR_IDMAP on /dev/null: invalid argument (NVIDIA/nvidia-container-toolkit#2226).

The failure is not limited to the nvidia runtime class. Native CDI injection in containerd v2.4.x and CRI-O v1.37.x uses CDI library v1.1.1, so device-plugin GPU pods should hit the failure too. This is inferred from the source and has not been reproduced.

Changes:

  • gpu-operator/release-notes.rst: adds a v26.7.3 known issue for pods that set hostUsers: false and receive GPUs through CDI. The known issue recommends toolkit v1.20.3 (--set toolkit.version=v1.20.3 or spec.toolkit.version). The fix is Ignore volume mounts if void device requested through envvar  nvidia-container-toolkit#2236 / #2238.
  • gpu-operator/cdi.rst: removes the Known Issues section that said hostUsers: false pods are not supported. That limitation cited toolkit issue #648, which toolkit PR #1971 fixed in v1.20.1.

Before merging

  • Merge only after toolkit v1.20.3 is published to nvcr.io/nvidia/k8s/container-toolkit.
  • Confirm v26.7.3 works with toolkit v1.20.3.
  • The #648 fix (PR #1971) relies on crun 1.27 or later. Confirm whether user-namespace pods need a minimum crun version.

Companion PR documents toolkit 1.20.3.

Link to Devin session: https://nvidia-cloud.devinenterprise.com/sessions/0b88f95cbd28449a97bbdd98a629bd09
Open in Devin Desktop: https://nvidia-cloud.devinenterprise.com/desktop/session/0b88f95cbd28449a97bbdd98a629bd09?variant=devin
Requested by: @mikemckiernan


Devin Review

…th toolkit 1.20.2

Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 3 potential issues.

Devin Review

Comment thread gpu-operator/release-notes.rst Resolved
Comment thread gpu-operator/release-notes.rst Resolved
Comment thread gpu-operator/release-notes.rst Resolved
@github-actions

Copy link
Copy Markdown

Documentation preview

https://nvidia.github.io/cloud-native-docs/review/pr-550

Toolkit issue #648 is fixed. Scope the v26.7.3 known issue to pods that receive GPUs through CDI, not only pods that use the NVIDIA runtime class.

Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Devin Review

Comment thread gpu-operator/cdi.rst
Known Issues
************

Pod specifications that set ``spec.hostUsers: false`` to enable Kubernetes user namespaces are not supported.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 User namespace runtime prerequisite

The CDI hook fix relies on crun 1.27 or later. Check whether supported deployments still use older versions and need a narrower compatibility note.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant